﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SES.CMS.DO;
using SES.CMS.BL;

namespace SES.CMS
{
    public partial class Bao_gia : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                cmsCategoryDO objCat = new cmsCategoryDO();
                objCat.CategoryID = 34;
                objCat = new cmsCategoryBL().Select(objCat);
                Page.Title = objCat.Title + " | " + Ultility.WebTitle(false);
                lblInfo.Text = objCat.DetailContent;
                rptBaoGiaDataSoucre();
            }
        }
        protected void rptBaoGiaDataSoucre()
        {
            rptBaoGia.DataSource = new cmsLibsFileBL().SelectAll();
            rptBaoGia.DataBind();

        }
        protected string FriendlyUrl(string strTitle)
        {
            return Ultility.Change_AV(strTitle);
        }
    }
}